Solution of the Problem of the Associated Petroleum Gas Injection into a Porous Medium Saturated with Methane and Ice