Then do it the way they Teach it
That is very different to what you posted and is as I said it could be posted as they have it, G54G90G0X---Y----- is fine, this does not work on all controls though
Note no G0 as the first call in the line the rest does not matter how you use it in the Haas control
The MDI snip that you have posted is a Haas thing, you have to learn what your control can do, by default G90 and G54 is the Control Default, it does not need to be entered in MDI so is a poor way to show / do it, that is just one example of how the Haas control can read the code not the norm though, if you have other machines with different controls its best to Format your Program so that it can run on all machines
I suggest you look at this Haas Mill Programing, look at Program Format Page 10 it gives a good explanation
Note that they do show Both ways that you can use it in the Haas control, and it can be different from this also