Can someone help please, i really get confused with equations, please step by step explanation

Answer: PR equals 6x-2 and x=6.
Step-by-step explanation: Try drawing a diagram to better visualize this, add both the equations, (2x+5)+(4x-7). Be careful of the negative, distribute properly. You should get 2x+5+4x-7 which becomes 6x-2. And finally since they have a midpoint between, both equations are equal to each other. So 2x+5=4x-7. Which should give you x=6.