A Dodge Neon and a Mack truck leave an intersection at the same time. The Neon heads east at an average speed of 30 miles per hour, while the truck heads south at an average speed of 40 miles per hour. Find an expression for their distance apart d (in miles) at the end of t hours.