First combine like terms and put the expression in standard form. This expression is now in simplest form and cannot be simplified anymore. 3a + 10ab - 7a^2b - 10ab^2 + 12ab - (-4) + (-a^2b) - 5a -10ab^2 - 8a^2b -2a + 24ab - (-4)
Those are the side lengths not the angles so I'm not sure, also are you sure that's right? I believe there has to be a hypotenuse and the hypotenuse is the sum of the two shorter sides added together.
Do you have any more information? I can try to help :)