If we have a function f(x) as x^2 + 5, and we want another function g(x) that is twice the value of f(x) plus 5, we follow these steps:
Multiply f(x) by 2.
Add 5 to the result.
the rule for g(x) is g(x) = 2x^2 + 15.