First project - help with code and vibration motor

Yes. I’ve 330 and 220. Where would I put the power onto the circuit so that the output 3 still controls the transistor?