Linear equations and elimination method