Have you come across the technique of separating variables yet?
for your problem we have
divide through by y and integrate both sides with respect to x
giving us
do the integration leaving us with
I'll leave you to finish it off and plug in the boundary condition