using the identity a^2 + 2ab + b^2 = (a + b)^2 (iv) x^2 + 2x + 1