substitute the expressions and equate them, then solve the equation.
You can ask a new question or answer this question.