The correct answers are:
g is the dependent variable; and u is the independent variable.
Explanation:
The equation is written as g = 748u. This means that as the value of u changes, the value of g changes; this makes g depend on u, so g is dependent.
Since u is the variable that causes g to change, u is the independent variable.