Final answer:
The function g(r) is found by solving the equation 10q - 3r = 14 for q, which results in g(r) = (3r + 14)/10.
Step-by-step explanation:
To find the function g(r) in terms of the variable r, we need to solve the equation 10q - 3r = 14 for q. First, add 3r to both sides of the equation to isolate terms involving q on one side. This gives us 10q = 3r + 14. Next, divide both sides of this equation by 10 to solve for q. This results in q = (3r + 14)/10. Therefore, the formula for g(r) is g(r) = (3r + 14)/10.