Kristen can run at 9kmh-1 and walk at 3kmh-1. She completed a 42km marathon in 6 hours. What distance did Kristen run during the marathon?