Can anyone explain how to save PNG to PDF for class?

I need to turn three PNG screenshots into a PDF for a class assignment due tonight. How do I save them together so each image gets its own page?

On Windows, select all three PNGs in File Explorer, right-click, choose Print, then pick “Microsoft Print to PDF.” Set it to full page and make sure all three are selected, then save the file. On a Mac, open them in Preview, select the thumbnails, then File > Print > Save as PDF.