Yes you have got it write.
Working out on algebraic expressions can become difficult if you don't have the basic concepts. Therefore it is recommended to go through the concepts first and then solve the practical questions. See the link below for further information:
www.wtamu.edu
www.wtamu.edu
N²+5 write down the first three terms of this sequence
(5X+7Y)+(2X-1Y)