Because each of these angles are 90 degrees, we know they're each equal to each other.
Let's find the value of the variable y first.
We can use 5y - 17 = 2y + 50 to find the value of y.
5y - 17 = 2y + 50
-2y from both sides
3y - 17 = 50
+17 to both sides
3y = 67
Divide both sides by 3
y = 22.33
Now we need to find the value of x.
x + 44 = 7x - 248
-x from both sides
44 = 6x - 248
+248 to both sides
292 = 6x
Divide both sides by 6
x = 48.67
And there's your variables.
y = 22.33
x = 48.67