So, first, remember what happens when there's a linear pair of angles.
A linear pair is a pair of adjacent angles formed when two lines intersect, as we can see in the following graph:
Angle 1 and angle 2 form a linear pair.
If two angles form a linear pair, then the sum of the degree measures of the angles is 180°.
Based in your question, I think you mean this: (Let x be the angle and 2x be twice the measure of the angle x).
If the problem tells us that two angles form a linear pair, we know that one of both angles will measure "x" degrees. The problem also tells us that the measure of the other angle is twice the first one, so it is 2 times "x", which is 2x.
So, now we could write:

So the measure of the first angle is 60°. As we know, the measure of the second one is twice the first, so it is 2(60°), which is 120°.