Will give Brainliest!

For a given input value q, the function g outputs a value r to satisfy the following equation.


−7q + 12r = 3q − 4r


Write a formula for g(q) in terms of q.


g(q) = ?