For a given input value nnn, the function ggg outputs a value mmm to satisfy the following equation.

3m-5n=113m−5n=113, m, minus, 5, n, equals, 11

Write a formula for g(n)g(n)g, left parenthesis, n, right parenthesis in terms of nnn.

g(n)=g(n)=g, left parenthesis, n, right parenthesis, equals