If Xiaoya gives Xiao Qi two more copies, Xiao Qi will have x+2 copies, and Xiaoya will have x- 10-2=x- 12 copies.
According to the equation:
(x+2)-(x- 12)=(x+2)/5
The solution is x=68 copies.
Xiaoya has x- 10=58 copies.
Xiao Qi has 68 books.