Stream of consciousness rationale: There were 20 + 5 = 25 basketballs. There were 2 x 20 = 40 tennis balls. And, there were 20 + 10 = 30 baseballs. So, there were 20 + 25 + 40 + 30 = 115 soccer balls, basketballs, tennis balls and baseball altogether.                      Therefore, Reynald bought 145 - 115 = 30 volleyballs,.
The question and answer pair are described below.
Q: Reynald is the head of the varsity department, and he bought 145 balls. Twenty were soccer balls. There were five more basketballs than the soccer balls. Twice the number of soccer balls were tennis balls. There were ten more baseballs than the soccer balls, and the rest were volleyballs. How many were volleyballs?
A: 30