according to the given data length of the boat is :16 m(B)

\

depth of the water is :20 m(W)

\

the boat has a lamp on the middle of the boat and its heigth is: 6 m(H)

\

so length of the  shadow of the boat in the water is(L):16+10=26 m