3 pwm signals to 24v

It's not that straightforward with just a few transistors as you have to reverse the current, which means you have to construct three H-bridges (these also come conveniently in a single package).