Whirlpool Dryer Not Heating Enough

2019104i have an older model whirlpool gas dryer, the heater coils in my unit are both 2wire each, i do not have a 3wire coil i was thinking of replacing the two 2 of them, as i have a problem with the unit stopping heating after several minutes of drying time, and not restarting again but the drum keeps turning with no heat to complete the timer setting.