Answer:

Step-by-step explanation:
I understand that you want to solve this equation

<=>

<=>

<=>
x = 2 or x = -2
hope this helps
if your question is 
then this is 
In a regular octagon all the interior angles are of the same value.
sum of the interior angles in octagon = (n-2) *180°
n - number of sides, in this case, n = 8
interior angles sum = (8-2)*180° = 6*180° = 1080°
since there are 8 equal angles = 1080/8 = 135°
Angle x + one interior angle of the octagon = 180 ° (as its a straight line)
x + 135 = 180
x = 45°
40/15=64/q
The answer is q=24