Consider the following question:
Three numbers are in arithmetic progression. Three other numbers are in geometric progression. Adding the corresponding terms of these progressions we obtain: 22, 50, 105. The sum of the numbers in the arithmetic progression is 168. Find the two progressions.
Based on this information, we can suppose the arithmetic sequence is $x, x+d, x+2d$ and the geometric sequence is $y, ay, a^2y$. Using this notation we can identify the following equations:
$x + y = 22$
$x + d + ay = 105$
$x + 2d + a^2y = 105$
$3x + 3d = 168$
I've tried playing around with these equations a bit with some repeated substitution and adding or subtracting the given equations but I haven't made a ton of progress. The only progress has been that $y = \frac{-6}{a}$, $y(a-1)^2 = 27$ and $x + d = 56$.
Could anyone please provide some guidance on what steps should be followed to be able to solve for the individual variables? Perhaps there's a different approach I'm not seeing.