How do you Solve for x

Answer:
C. x=12
Step-by-step explanation:
Angles in a triangles add up to 180 degrees. We are given that one angle is a right angle which means it's 90 degrees so...
2x+1+5x+5+90=180
Add like terms
96+7x=180
Subtract 96 from both sides
7x=84
Divide both sides by 7
x=12