

Potential V= Work / charge
So find the total work done to move the charge from infinity to that point where you want to find potential. and for this, first,calculate the small work done to move a charge for a small displacement and then integrate this small work with lower limit infinite and higher limit r (distance between charge and the point).
After calculating the total work, put the values in V= W/q
