You could use sudo raspi-config
and select Advanced Options -> Resolution, then choose the resolution you require (as long s your monitor supports it and the capability is detected).
Or you could manually put the setting in /boot/config.txt. The setting you need are hdmi_group=1
for 1080i @ 60Hz (Close enough to 59.94 to be within range). 720p @ 30Hz isn't defined, but you could try creating a custom mode
Details of the config.txt settings are here: https://www.raspberrypi.org/documentati ... t/video.md