Will give Brainliest!!!

Layla is going to drive from her house to City A without stopping. Layla plans to drive at a speed of 30 miles per hour and her house is 240 miles from City A. Write an equation for D,D, in terms of t,t, representing Layla's distance from City A tt hours after leaving her house.