Solve the problem first.
Then plot it on the number line.
Take 2 cm as I unit.
Take the compass and draw a semicircle.
Draw a perpendicular bisector.
Draw 90 degree angle using compass.
Measure the distance between the semicircle and 90 degree point.
Cut another arc.
There you go!