Alexa lives 4 kilometers away from school.
Distance between Alexa house and school = 4km
She leaves home and rides her bicycle toward school at a speed of 0.25 kilometer per minute
Speed of Alexa = 0.25km/min
The relation between speed, distance and time is express as:

Let time = x minutes
Substitute the value, time = x, Distance = f(x), speed = 0.25km/min

Answer: f(x) = 0.25x