Blend the tequila with the sugar, lemon juice, and Cointreau. Add the ice and continue blending. Moisten the rim of the glasses with lemon juice and dip them in salt. Serve.