Answer: x = 34
=======================================================
Step-by-step explanation:
A+B = 90 ... complementary angles add to 90 degrees
(x+22) + (x) = 90
x+22+x = 90
2x+22 = 90
2x = 90-22 ... subtract 22 from both sides
2x = 68
x = 68/2 ... divide both sides by 2
x = 34
--------------------
Extra info:
if x = 34, then angle A is x+22 = 34+22 = 56 degrees
Then we can see that A+B = 56+34 = 90, which confirms our answer