Need help with solving for X

Answer:
[tex]\huge\boxed{\sf x = 10}[/tex]
Step-by-step 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
[tex]\rule[225]{225}{2}[/tex]