You're putting the AE in the wrong room. The AE should be attached, via ethernet, to the DSL modem (the WAN port on the AE). Whatever computer(s) is (are) in the room with the DSL modem can then be attached by ethernet to the AE. Then the iMac in the other room can access the Internet wirelessly through the AE wireless connection.
Steve