Given:
She worked as a nurse for 6 years longer than her friend bill.
Four years ago, she had been at twice as long.
Find-:
How long has each been at the hospital
Explanation-:
Let
x = Bill worked in a hospital
So Hong worked in a hospital is:

Four years ago, she had been at the hospital twice as long.

Bill worked for 10 years.
Hong worked 6 years longer than,

Hong worked for 16 years.