With reference to the figure shown, the following program is written
N01 G .... G .... X5 Y10 F1000:
N05 X25 Y15 ;
N10 X35 Y5;
The G-codes used in the block number N01 for getting the rquired movement as O-A-B-C are