Sin means to divide the opposite side measure by the hypotenuse. Cos is equal to the adjacent side value divided by the hypotenuse. Tan is equal to the opposite value divided by the adjacent. To remember this, I use the abbreviation SOHCAHTOA. SOH for Sin is Opposite over Hypotenuse, and so on.
16x2=32
21x2=42
32+42=54
the perimeter is 54
So
1/2x+2=2/3x
convert to common fraction
1/2=3/6
2/3=4/6
3/6x+2=4/6x
subtract 3/6x from both sides
2=1/6x
multiply boh tisdes by 6
12=x
the tank can hold 12 gallon
9y is the answer I believe