Probably asked ChatGPT the question and then took a screenshot of it. A 3d modeling software transformed into 2 surfaces and sliced the movement into 2 layers. Slicer Generated the .Gcode file and then gave it to the printer. Would have been hardcore if he wrote the Gcode himself