(a) Left:

Set y=0 at the water line, increasing downwards.

w(y)=4+543(y1)113+13y14ρgy(113+13y)dy

Alternative: Set y=0 at the top of the trapezoid. Obtain:

03ρg(y+1)(4+543y)dy

(b) Center:

Set y=0 at the water line, increasing downwards.

w(y)=5+453(y+1)14313y02ρgy(14313y)dy

Alternative: Set y=0 at the top of the trapezoid. Obtain:

13ρg(y1)(5+453y)dy

(c) Right:

Set y=0 at the water line, increasing downwards.

wS(y)=2(square)wT(y)=2+023(y2)(triangle) 02ρgy2dy+25ρgy(223(y2))dy