You make 15 miles in an hour, considering that the 7.5 miles is half the miles of what you are traveling which is 15, It would take you a half hour.
So 7.5 miles / 15miles per hour = 0.5 hours which is half an hour.
You cancel the miles (the unit) to end up with the results in terms of time.