here's the drive circuit although it needs more major revisions and haven't tested yet if you want to try it... try it on a breadboard and also
for inverting i prefer search on google there are plenty of how to do this.... about the sg3524 try to read the datasheet because its kind of crappy to me as a new student about the current limiting... i hope this helps(btw sorry bout the crappy drawing)