The ideal gas law (for one mole of gas) may be used to express pressure as a function of volume and temperature, ie p=p(V,T). Use this and the expression for the above total differential of G to obtain expressions for the partial derivatives natural to the function G=G(V,T)