On finite energy solutions for nonhomogeneous p-harmonic equations