Answer:
V(h) = Eh
Step-by-step explanation:
I will assume that the capacitor is a parallel-plate capacitor.
By Gauss' Law, electric field inside the capacitor is

The relation between electric field and potential is

The important thing in this question is that the electric field inside the parallel plate is constant. So, the potential is also constant and proportional to the distance, h.