You can take a square photograph to ensure the dimensions are right or take a normal photo and use the crop feature to make it square.
Select the square aspect ratio under the crop feature if needed, then crop it to the proper dimensions (600 pixels by 600 pixels) for a passport photo.