The two right triangles shown above have equal perimeters. The hypotenuse of the orange triangle is one leg of the green triangle stacked on top of it. If the smallest angle of the orange triangles is 20 degrees, what are the angles of the green right triangle?