Answer:
Danielle drove 3 hours
Explanation:
Suppose Heather moved in the x direction.
Then Danielle moved in the opposite direction, that is, she moved in the -x direction.
Let's call
,
,
at the speed, distance and time that I code Heather
Let's call
,
,
at the speed, distance and time Danielle codes.
Observe the following diagram:
(x) Heather <------
--------- hospital ----------
-----------> Danielle (-x)
So:
![t_1 = 4\ h](https://img.qammunity.org/2020/formulas/mathematics/middle-school/4mj830sa7k5iok6vhnanjsjlb86ywoqbg3.png)
![V_2 = 50\ km/h](https://img.qammunity.org/2020/formulas/mathematics/middle-school/5uzpowzgr3bbz9269qjy01xgxlh95wrpoa.png)
We know that after 4 hours the distance between Heather and Danielle was 290 km.
That is to say:
![x_2 + x_1 = 290\ km/h](https://img.qammunity.org/2020/formulas/mathematics/middle-school/l50d66rqmfy7enuhmus3sqn8cowkkch0r6.png)
We know that
![x_1= v_1t_1](https://img.qammunity.org/2020/formulas/mathematics/middle-school/9qp5g67zf3h5tegzkg5bp3juy6nkzkcocs.png)
![x_1 = 35(4)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/fzsn5yamj5y5qa3mvo6wrfmo9hw4e5843h.png)
![x_1 = 140\ km](https://img.qammunity.org/2020/formulas/mathematics/middle-school/gy4aur7yb793kpwds19znisx6my7ez4ktc.png)
We already know
, the distance from the hospital to Heather, so we can find
and thus know
![t_2](https://img.qammunity.org/2020/formulas/mathematics/middle-school/3kveqcgcq3nd09jqgk3sv0v0lyagfmcla2.png)
So:
![x_2 = 290 - 140\\\\x_2 = 150\ km](https://img.qammunity.org/2020/formulas/mathematics/middle-school/q4vdr5s38ltxgcog6bm0ml0ejj3cnqfww7.png)
Then:
![t_2 = (x_2)/(v_2)\\\\t_2 = (150)/(50)\\\\t_2 = 3\ h](https://img.qammunity.org/2020/formulas/mathematics/middle-school/ykblv417gb7pr1f4map2tpqol7b1p8rfn9.png)