7a: Let f(x) = 4x. The graph of f(x) is transformed into the graph g(x) by a vertical stretch of 2 units and a translation of 5 units right. What is the equation for g(x)?

7b: Let h(x) = 10x. The graph of h(x) is transformed into the graph of g(x) by a vertical compression of 1/2 and a translation of 3 units up. What is the equation for g(x)?