It is given that,
A student spends 5 hours studying and makes a grade of 89 on the test.
To write an equation that relates the grade earned on a test in t hours.
Let us take,
For 5 hours, the grade is 89
For 1 hour, the grade will be,
[tex]\frac{89}{5}=17.8[/tex]Then for t hours, the general equation will be,
[tex]g=17.8t[/tex]Hence, the answer is g=17.8t.