X and Y are two departments that are to share 50% of all joint costs…