If you use the classical formula that the area= (1/2)*base*height of the triangle, then you get the answer of 30.
But in reality NO such right angled triangle exists. If the hypotenuse is 10 then the then the perpendicular from the right angle to the hypotenuse CANNOT be 6.
Therefore the question is wrong and hence the answer 30 is wrong too.