LibreCAD is a free and open-source 2D CAD application that lets you edit DWG files. Using it, you can edit DWG as well as DXF files in it. You can even design a new drawing from scratch using it.