just do 3x+5+2x=90 And solve for x.
So, 5x+5=90
5x=85
x=85/5 = 17
now you know the value of x, so you can calculate the angles.
Btw the total angle of a triangle is 180, and since this is a right angle triangle, you know that the two angles added together needs to equal 90.