The speed of a car is x miles per hour.
The total distance the car travels in
30 minutes is y.

y = 0.5x , because car travels x miles in one hour (60 minutes), therefore it will travel half of x miles in half hour