In an AP, the first term is -4, the last term is 29 and the sum of all its terms is 150. Find its common difference.