Sam takes the bus 3/5 of the distance from home to school. He then walks one block to his friends house and rides with the friend the remaining seven blocks to school. What fractional part of the trip did he ride with his friend?