In the geometric figure below, two lines, line A and line B, intersect at point O, forming four angles. The angle marked as angle 1 measures $$x$$ degrees, and angle 2 is found to be $$3x$$ degrees. If angle 1 and angle 2 are supplementary, what is the measure of angle 1?