You should edit 1920x1080 to the resolution you need, and the name of your vm. I have also seen other tutorials instructing to use the above without putting VBoxInternal2/EfiGraphicsResolution in quotes. Didn't work for me. After putting the code, open up your vm and hopefully reso is changed.