w=-1.5
w=2
Answer:
Solution given:

again
keep square root alone

solve subtraction of 7-2

Squaring on both side

2w²-19w+31=5²-2*5*2w+4w²
take terms one side
2w²-19w+31-25+20w-4w²=0
-2w²+w+6=0
2w²-w-6=0
doing middle term factorisation
2w²-(4-3)w-6=0
2w²-4w+3w-6=0
take common from each two term
2w(w-2)+3(w-2)=0
(w-2)(2w+3)=0
either
w=2
or
W=-3/2=-1.5