Hint: There are two unknowns; $T_1$, the time for which he drove on the first part (at $100$ km/h); $T_2$, the time for which he drove on the second part (at $90$ km/h). What is the sum $T_1+T_2$? What is the sum $100T_1+90T_2$? The answers give you 2 equations for the two unknowns.