Text this: Rothe method for a mixed problem with an integral condition for the two-dimensional diffusion equation