There are four numbers, of which the first three numbers form an equal ratio sequence, and the last three numbers form an equal difference sequence. The sum of the first and last two numbers is 14, and the sum of the middle two numbers is 12

There are four numbers, of which the first three numbers form an equal ratio sequence, and the last three numbers form an equal difference sequence. The sum of the first and last two numbers is 14, and the sum of the middle two numbers is 12

2 4 8 12
Let four numbers be a B C D
Series of equations
B square = AC (1)
2c=b+d (2)
a+d=14 (3)
b+c=12 (4)
The solution of the equation is a = 2, B = 4, C = 8, d = 12