Auto-translated
You can also use the integral from 0 to b-a, integral from 0 to b-a dxdy. In general, the problem stated the length of the square's side, so it's better to take the integrals from 0 to that value...
New here? I'm Roha — want a quick tour?