please explain step by step

Let's find the value of x
Since the sum of internal angles of a triangle is 180°
therefore,
[tex] \hookrightarrow \: (2x - 2) \degree + (x + 5) \degree + 90 \degree = 180 \degree[/tex]
[tex] \hookrightarrow \: 2x - 2 \degree + x + 5\degree = 180\degree - 90\degree[/tex]
[tex] \hookrightarrow \: 3x + 3\degree = 90\degree[/tex]
[tex] \hookrightarrow \: 3(x + 1) = 3(30)[/tex]
[tex] \hookrightarrow \: x + 1\degree = 30\degree[/tex]
[tex] \hookrightarrow \: x = 29\degree[/tex]