Answer:
D(miles) = 150 miles - 0.2mph(x hours)
or
D = 150 - 0.2x
Explanation:
In order to form an equation to represent the situation, you must know that the equation of a line is equal to
y = mx + b
In which m is the rate of change and b is the y-intercept (what y = when x is 0).
Since Zachary is riding at a rate of 0.2 miles per hour towards California, his distance from LA is decreasing by 0.2 miles every hour.
If x represents the number of hours passed, m = -0.2 miles per hour.
Second, since Mojave is 150 miles away from LA, you know that b is equal to 150; when the x is 0 (time = 0 hours, Zachary has not started riding towards LA), y is 150 miles.
In conclusion, by plugging in values for the slope and y intercept, the final equation you get is:
y = 150 - 0.2x
or
y = -0.2x + 150