Hi there!
First we need to remember the following.

Now substitute both of the formulas.

Work out the parenthesis.

And finally collect terms.

~ Hope this helps you!
X^2 = b^2-c^2
x^2= sqrt117^2-6^2
x^2=sqrt117×sqrt117-36
x^2=117-36
x^2=81
x=sqrt81
x=9cm
X = 5 (you can set it up as a regular equation)
9x + 1= 46
9x = 45 (subtracted 1 from both sides)
x = 5 (divided 45 by 9)
hope this helps :)