There's a lot of information missing here! For example, the submarine is 100 m below the surface but the submarine is not a single horizontal line! What is the depth of the top of the window? I am going to assume that the top of the window is 100 m below the surface.
Also you say the window is "0.1m by 0.2 m" but don't say which measurement is horizontal and with is vertical. That's important to the answer! I am going to assume that the 0.1 m measurement is horizontal and the 0.2 m measurement is vertical.
Imagine dividing the window into n horizontal strips, each of thickness 0.2/n meters. Taking n sufficiently large, each strip will be narrow enough that we can treat it as a single depth. Taking x= 0 at the top of the window, x= 0.2i/n for the ith strip and it is 100+ 0.2i/n m below the surface. We can think of that as a narrow "stack" of water of length 0.1 m, width 0.2/n m, and height 100+ 0.2i/n m. That is a volume of 0.02(100+ 0.2i/n)= 2+ 0.002i/n cubic meters. Since the density of water is 1000 kg/m^3, the weight of that water is 2000+ 2i/n kg. That is, of course, downward but water, or any liquid, has the property that it exerts the same force in all directions. So that strip has a force of 2000+ 2i/n kg on it. To get the total force on the window, add all of those strips: [tex]\sum_{i=0}^n (2000+ 2i/n)[/tex]. That is a "Riemann sum". Taking the limit as n goes to infinity gives the integral [tex]\int_0^{0.2} (2000+ 2x) dx[/tex].