Write an equation in x to represent each statement below. Do not solve the equation.
1. when 4 is added to a certain number the result is the same as halving the number and adding 10.
2. Squaring a number and adding 6 gives the same result as doubling the number and adding 9.