Please reason step by step, and put your final answer within \boxed{}.
John spent 3 years of his life exploring the jungle. He then spent half as much time writing up notes about his travels. It took some time to write his book once he was done with the notes, and he spent 5 years on his book and exploring. How long did it take him to write his book?
user