The correct option is B x2+y2+2xy
(x+y)2 can be expanded using Distributive property as:
(x+y)2=(x+y)(x+y)
=x(x+y)+y(x+y)
=x(x+y)–––––––––+y(x+y)–––––––––
=x1+1+xy+xy+y1+1 (∵am×an=am+n)
=x2+xy+xy–––––––––+y2
=x2+2xy+y2
(x+y)2=x2+y2+2xy
(x+y)2 would be equivalent to x2+y2+2xy.
Therefore, option (b.) is the correct answer.