contestada

A sequence starts:
1, 4, 9, 16 ...
The nth term is n^2
Use this fact to find the nth term of the following sequences:
a)2, 5, 10, 17 ...
b)2, 8, 18, 32 ...