You were told the sum of the first 4 terms is 22, so:
You were told the sum of the first 5 terms is 35, so you can solve for the 5th term:
35-22 = 13, so
Now you have two equations and two variables.
Substitute this into the first equation
And substitute this back into either equation
So now you have your values:
The pattern should be rather obvious: