It is known that the ratio of the two angles is 3:7, and the difference is 72 degrees. What are the degrees of the two angles?

It is known that the ratio of the two angles is 3:7, and the difference is 72 degrees. What are the degrees of the two angles?

7-3=4
72÷4=18
18x3=54
18x7=126
54 degrees and 126 degrees