a) (x+1/y)^2
b) (x-(1/3y)+(2/5z))^2
$\displaystyle \left(x + \frac{1}{y}\right)^2 = \left(x + \frac{1}{y}\right)\left(x + \frac{1}{y}\right)$.
FOIL it out.
I can't read the second. Has it got $\displaystyle \frac{1}{3y}$ and $\displaystyle \frac{2}{5z}$, or $\displaystyle \frac{1}{3}y$ and $\displaystyle \frac{2}{5}z$?