A charge of 8 C is passing through points A and B on a circuit. If the charge's electric potential changes from 34 J to 12 J, what is the voltage between points A and B?