You might be approaching this from the wrong direction. Do the calculations on the pressure not on the volumes. The volumes of the tanks are constant and only the pressure is changing. Also, I don't think it's a parabolic relationship as there are no exponents in PV=PV.