Model A: get to school by bike(?)
How long does it take you to get to school by bike?
It takes me about 30 minutes to get to school by bike.
Model B: from your house to your school(?)
How far is it from your house to your school?
It is about 1 kilometer.