The sum of a triangle is 180°.
In a right triangle, one angle is 90 degrees.
If we add 90 and 35 together, we get 125°.
If we subtract 125 from 180, we have the measure for the other angle, which is 55°.
So, to answer your question, the measures of the other two angles are 90° and 55°.