Take material. Measure the dimension of de old gear. Make your marking out on the material .Take the material to lathe machine. Produce your cylindrical surface ab and your diameter.Take the workpiece to the milling machine . Mout the work in the dividing head.Mout your milling cutter in the milling machine .According to the diving head you mill through the dimension .