If angle A and angle B are supplementary, and their measures are (3x + 50)o and (7x + 10)o

respectively, find x, the measure of angle A and the measures of angle B.