can somebody please just explain to me how to do this, it says solve for x in each diagram. I already answered the first question and I just want to make sure that I'm doing it

Answer:
u did it right
Step-by-step explanation:
solve it like this
2x -7 = 47
2x = 47 + 7
2x = 54
54/2
x= 27
Please mark as brainliest
Have a great day, be safe and healthy
Thank u
XD