Begin with the formula for the sum of a geometric series
Hence, you need three values..
You are given "a" and two clues to find the other two values.
hence you can find using the information given for the last term.
If you use these clues, you will get an equation in "r" which finds the value of "r".