The average of six numbers is x and the average of three of these is y. If the average of the remaining three is z, then :