THE ANGLE OF A TRIANGLE ARE IN RATIO 1:2:7 CALCULATE ALL THE ANGLES

if 7x+2x+x=180, then solve for x

angles are x, 2x, 7x