Final answer:
To find the distance your friend lives from the movie theater, multiply your driving time by your rate and set up an inequality.
Step-by-step explanation:
To find the distance that your friend lives from the movie theater, we can use the fact that you took 14 hours to drive there at a rate of 40 mph. Distance is equal to rate multiplied by time, so the distance you traveled is 40 mph multiplied by 14 hours, which gives us 560 miles. Since your friend lives closer to the movie theater, their distance d would be less than 560 miles. Therefore, the inequality that represents the distance d is d < 560.