You subtract the distance form the surface of the Earth from the distance from the Sun. You take the absolute value of that because you can't have negative distance.
Make Screaming Avocado Brainliest because he deserves it!
So basically u keep the x on one side and the rest on the other. Get a common denominator. to get rid of the half u times both sides by 2. hope this helps