Answer:
Danielle drove 3 hours
Step-by-step 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:


We know that after 4 hours the distance between Heather and Danielle was 290 km.
That is to say:

We know that 


We already know
, the distance from the hospital to Heather, so we can find
and thus know 
So:

Then:
