A car traveled at an average speed of 50 miles per hour for a trip of 225 miles. How long did the trip take ?