Answer
(a) no
(b) yes
Work Step by Step
(a) This is not correct because they forgot the middle term of the formula which is 2AB or in this example, it is 50x.
(b) This is correct because the formula for a square of a sum has 3 terms which in this case are x$^2$+2ax+a$^2$