How can we find a suitable potential function of the conservative field on the different regions (2)?