You could either:
a) Use the Pythagorean Theorem
b) Use Sine/Cosine/Tangent Inverse to find one of the angles, and then use that angle to find x.
Answer:

Step-by-step explanation:
The nth term of a geometric sequence is given by the following equation.

In which r is the common ratio.
This can be expanded for the nth term in the following way:

In which
is the first term.
This means that for example:

So




Then

Answer:
a = (x - b)/2
Step-by-step explanation:
2a + b = x
-b -b
2a = x - b
/2 /2
a = (x - b)/2
for ex:
x = 3
b = 2
a = ((3) - (2))/2 = 0.5
a = 0.5
2a + b = x
2(0.5) + 2 = 3