Answer:
![\huge\boxed{\sf x = 10}](https://img.qammunity.org/2023/formulas/mathematics/high-school/fp1k567mpby24zv6awl67z7h4bwzl94wds.png)
Explanation:
Since the two angles are complementary angles, the measures of these angles add up to 90 degrees.
5x + 25 + x + 5 = 90
5x + x + 25 + 5 = 90
6x + 30 = 90
Subtract 30 to both sides
6x = 90 - 30
6x = 60
Divide 6 to both sides
x = 60 / 6
x = 10
![\rule[225]{225}{2}](https://img.qammunity.org/2023/formulas/english/college/eq413d752mwtrwwenrzwldxt4w1olmf1b3.png)