One of the angles of a triangle is equal to the sum of the other two angles. If the ratio of the other two angles of the triangle is 4:5, find the angels of the triangle.