The relative speed of the car with respect to the truck is 10 miles per hour.

 

Now assuming the truck to be stationary, the distance traveled by the car is 30 +15 = 45 ft

 

Or 45/5280 miles.

 

The time taken to travel this distance = Distance /speed

 

                                                            = (45/5280)/10   hours

 

                                                            = seconds

 

                                                             = seconds

 

                                                             =3.1 seconds

 

                                                                   ****