solving systems of 3 equations by elimination