To calculate double integral of any function, you need to compute integral with respect to y, this removes x variable. Then, calculate integral with respect to y.