Each expression is a perfect square. assuming b is greater than 0, find b.

A. y=x^2+bx+49
B. y=x^2+bx+1