Dryer Outlet To Nema 1450

I am looking for a guide for what the correct wiring for nema 14-50 and nema l14-30 outlets are dont want to do this wrong and fry a machine, so i would rather ask if.