A situation like that the one sticking out I'd try some heat,if you have access to a mig I'd slide a big washer down and mig it to the stud,then try wiggling it back and forth with vice grips,see if it will start and back out. No? Slide a big nut down and mig it to the washer and the stud, see if you can get that to wiggle and move. The mig is your heat. On the other one find your original bolt size, get a tap that size,a fresh drill bit for the tap,drill size is usually on the side of the tap,if not I have a chart. Anyway fresh new pilot bit,center punch,the broken bolt, drill a pilot hole,next drill for the tap,next tap the hole. Resist the urge to use an ez out. Something as stuck as what you are dealing with,you will probably break the EZ out off,then your in an even bigger mess.