What is the value of the variable $x$?
Statement (1): $4x + 2 = 18$
Statement (2): $x^2 - 5x + 6 = 0$