Scan the pages with the camera or pick a PDF or photos you already have.
Put the pages in order.
The app builds the PDF under the size the portal asks for.
At the end you'll see a checklist: size, file weight, background and format. If something doesn't comply, it tells you what to fix before the portal rejects it.