There are four separate square enclosures, three of side $\quantity{x}{yd.}$ and one of side $\quantity{y}{yd.}$ The sum of the areas of the enclosures is $\quantity{147}{sq. yd.}$ and the sum of their perimeters is $\quantity{96}{yd.}$ Obtain two equations containing $x$ and $y$ and solve them.