The electrical resistance of a wire varies directly with the length of the wire and inversely with the square of the diameter of the wire. If a wire 433 ft long and 4 mm in diameter has a resistance of 1.22 ohms, find the length of a wire of the same material whose resistance is 1.43 ohms and whose diameter is 5 mm.