The nth term of geometric progression example 2

Example 2

In a geometric progression, the sum of the second term and the third term is 12 and the sum of the third term and the fourth term is 4, find the first term and the common ratio.

[Solving simultaneous equation to find a and r]