Zach goes for his morning 2 km jog around the neighborhood. Zach runs part of the way at a speed of 10 km/h and jogs the rest at a speed of 7 km/h. If it took him 15 minutes (0.25 h), how far did he run and how far did he jog?

Can someone please help me. Thank you so much!

since time = distance/speed,

if he ran for x km, then
x/10 + (2-x)/7 = 1/4