Algebra. Find the values of the variable

You are looking at right angles in the problem. Right angles are 90 degrees.
So set up the problem to solve for X using:
90=4x+12
90-12=4x
78=4x
39/2 or 19.5 = x