A cyclist set off on her bike to visit her friend traveling at an average speed of 18 kilometers per hour. When she had gone half the distance to her friend's house a tire went flat and she walked the rest of the way at 6 kilometers per hour. In all it took her 50 minutes to reach her friend's house. In kilometers rounded to the nearest tenth, how far did the cyclist walk?
3.0
3.5
3.8
4.0
4.2