For example, I use FANUC system, the straight line instruction is G0 1, the clockwise arc instruction is G02, the counterclockwise arc instruction is 03, and the speed is expressed by F.
If you want to go straight from point A (x 1, y 1) to point B (x2, y2), the tool speed is 10mm/min.
Then the format is
G00 x 1,y 1
G0 1 x2,y2 F= 10
Of course, this is just a passage to give you an impression. You can see the description of your Mitsubishi system. Just translate your intentions into instructions and express them to the machine in a prescribed format.
To do a good job, the main content lies in the processing technology, such as what material the workpiece is, what spindle speed is used, how much cutting dosage is, and so on. It's just that programming is simple.