A transformer has 400 turns of wire in the primary coil and 40 turns in…