20 books per box and x number of boxes.
To write an equation you have to figure out what variable you are solving for, which is x. Then you see what x is, which is the number of boxes. Finally you figure out what it takes from the given no. to get to the answer, x.
y = no. of books
x = y/20