Question 2Cabinets $A,B$ contain $840$ books altogether. After $40$ books are moved from $A$ to $B$, $A$ has one third as many as $B$. How many books were originally in $A$?