Angle A has a measure of 3x° and angle B has a measure of x+22°. If angles A and B are complementary, what is the value of x? *