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