Making a 0-12v & 0-5v pulse

Schematic?