Okay so i'll go right to it (been sitting about 2 hours with this question);

An icecube is sliding 3 meters friction free off the ledge of a house roof which has the angle of 27 degrees. What speed will it attain at the edge of the roof?

Just imagine a triangle with the hyp of 3 meters and the angle at the edge is 27degrees. The one and only force that can meddle with the ice cube must be gravity (9.82m/s(square))

So please solve this for me so I can understand what im doing wrong.

The answer is v=square(2*9.82+3*sin(27))

I've got no clue where the 2 comes from...