Answer:

And then we can solve for x like this:

And the final solution would be 30 hours for math and 24 for the science course.
Explanation:
We need to define some notation first. Let
x= number of hours that he spent for the math course
y = number of hours that he spent for th science course
We have that the total of hours is 54, and we can write that like this:
(1)
And the other conditions is: " For every 5 hours Jerome spends studying math, he studies science for 4 hours" And we can write this like that:

And we can solve for x like this:

And we can replace this into equation (1) and we got:

And if we do the algebra we got:


And then we can solve for x like this:

And the final solution would be 30 hours for math and 24 for the science course.