Complex sentence: Images are drawn on the cloth with molten wax and when this cloth is then immersed in a cold-water dye, the waxed areas resist the colour, thus making a pattern.
Split into simpler sentences: Images are drawn on the cloth with molten wax. When the cloth is then immersed in a cold-water dye, the waxed areas resist the colour, thus making a pattern.