The correct option is A Rs. 5,000 to X
According to piecemeal distribution of cash, partners whose capitals are more than proportionate to other partner's capital should first be refunded to bring down their capitals to proportionate levels. After that amount left unpaid be shared in profit sharing ratio. In this, X and Y share profits and losses equally. So their capitals should also be equal. To make capital equal X will be paid first. So Rs. 5000 will be paid to X.