Respuesta :
Answer:
Hoang has been at the hospital for 12 years while Bill has worked for 7 years.
Step-by-step explanation:
Let the years Hoang has worked as a nurse equal h and let the years Bill has worked as a nurse equal b.
Since Hoang has worked 5 years longer, h is five more than b:
h = b + 5
Now we move onto the situation 2 years ago. 2 years ago, Hoang had worked at the hospital two less than h or h-2 years while Bill has worked for b-2 which is two years less than b. We are also told that at the time, Hoang worked twice as longs, so
h - 2 = 2(b - 2)
This can be simplified:
h - 2 = 2b - 4
h = 2b - 2
We can use substitution. Since h = b + 5 and h = 2b - 2,
b + 5 = 2b - 2
b = 7
Therefore, since Hoang has worked five more years, h = 12. So, Hoang has been at the hospital for 12 years while Bill has worked for 7 years.