# First one is 3 you just need to factor x^2. In the second one try to express x^2-6x+8 as (x-a)^2 or similar