A bucket when one-quarter full of water weighs ppp kilograms, and when three-quarters full the total weight is qqq kilograms. Find the total weight of the bucket when it is completely full, in terms of ppp and qqq.