user
Instruction:Convert the given word problem into an equation.

Input: Sophie read three books this week. She read twice as many books the week before. How many books did she read the week before?


assistant
3 books this week + (2 x books the week before) = Total books.  Therefore, the equation is 3 + (2x) = Total books and the answer is x = 3 books.