The resistance of a wire, R, varies directly with the length and inversely with the square of the diameter. If the resistance is 7.5 ohms when the wire is 6 meters long and the diameter is 0.02 meter, find the resistance in a wire of the same material if the length is 10 meters and the diameter is 0.04 meter.