Math Puzzle: Breaking a chocolate bar

If it’s n by m squares, and it’s chocolate, then isn’t the answer nom nom nom?