You can put this solution on YOUR website! Let one angle be x. Then, the other will be x+10. and we know that their sum has to be 90 (all complementary angles add up to 90)
x+x+10 = 90
2x = 80
x = 40 This is the smaller angle. The bigger angle is:
40+10 = 50 this is the bigger angle