For a wire, two fifths of the total length is used for the first time and 12 meters for the second time. At this time, the ratio of the remaining wire to the total length is 1:3. How long was the wire originally?

For a wire, two fifths of the total length is used for the first time and 12 meters for the second time. At this time, the ratio of the remaining wire to the total length is 1:3. How long was the wire originally?

It's not 18m, it should be 45m, 1-2 / 5-1 / 3 = 4 / 15, 12 * 15 / 4 = 45