Pressure studies of commingled flow in three-layered reservoirs