What's the best way to repair these holes

Are those spots along the lip where the windshield or backglass fit into?
Find a donor car to cut what you need out of it.
Check with your local heating and air conditioning shop. They usually have a sheet metal brake in the shop.