You can combine the like terms from all sides for the first question. Then substitute 7 for x to solve the second one.