So,
I will be assuming the same thing as the other user.
First, we have to convert the fractions so that they have common denominators.


Now we add the fractions together.

Now, to find the fraction of the time that Amy spent on history, we need to subtract the sum of the time she spent in math and science from one whole.

Amy spent 5/12 of her time working on history.