Note: I didn't want to choose y to be 0 because the value of B would disappear from the equation. So you should be able to have chosen any x and y except for y=0 to solve the equation for B.
Check:
So let's check and use foil to multiply out the right hand side.
There was a 2 in front of that multplicapltiation:
This is exactly what we have on the left hand side of your given equation.