Let d and t be the distance and the time it takes for Margaret to get the place of the appointment.
d is the product of the speed when she was going to the appointment times the time (t):

d is also the product of the speed when she was going back home times t+1/3:

Make both d equal and find the value of t:

Use this value of t to find d:

According to this, she traveled 140 miles to the appointment.