Insert section break at the end of the second page, and insert → separator → section break (continuous).
2.
Select the footer on page 3, and then click Link to Previous Page in the header footer toolbar to cancel it.
3.
Set the page number format → Select I, ii, … (the third and fourth pages) → Set the starting page number as 1→ OK → Insert the page number.
4.
At this point, if the first two pages still have page numbers, just select Delete.
5.
Repeat the above steps on page 5.