Solution: Let Xiao Pang have X books and Xiao Dingding has (x+5) books.
x+(x+5)=43
2x+5=43
x= 19
19+5=24 (Ben)
A: There are 19 books, and Dingding Jr. has 24 books.