In a layman's language definite integration is the number of boxes that a curve(function) covers on a particular axis(dx, dy, dz). Using the same method to solve it. We find that it covers 1 block from 1-2 and 2 blocks from 2-3(draw d graph to see it). So the answer is 3. You can use this at other places also.