The relationship between the graphs of $f$ and $g$ is that the graph of $g$ is a vertical shift of the graph of $f$ by $-10$ units. If $q$ is positive, the shift is upwards; if $q$ is negative, the shift is downwards. This demonstrates how adding a constant to a function affects its graph on a Cartesian coordinate system without altering the shape of the graph.