Answer:
g(n) = 180 - 20(n-1)
Explanation:
Since your has its g(1) value as 180, we put 180 in front. Then, we subtract 20 multiplied by n-1, n being the sequence number. For example, if the recursive function has recursed 3 times, we do 3-1, which is 2. We multiply 2 with 20, which is 40. Finally, we subtract 40 from 180, which is 140. This equation is equivalent to g(3) = 180 - 20(3-1). When the sequence has g(3), we clearly see the answer is 140. When we look at the sequence, the third number is 140, proving this equation correct.