The correct answer is: X Rs. 15,500, Y Rs. 8,500, Z Rs. 7,500.

The ratio of X, Y and Z is 4 : 2 : 1. This means that X gets 4 parts, Y gets 2 parts, and Z gets 1 part. If the total profit is Rs. 31,500, then X gets 4/7 * 31,500 = Rs. 15,500, Y gets 2/7 * 31,500 = Rs. 8,500, and Z gets 1/7 * 31,500 = Rs. 7,500.

Option A is incorrect because it gives Z a share of Rs. 8,000, which is less than the minimum guaranteed share of Rs. 7,500.

Option B is incorrect because it gives Z a share of Rs. 10,000, which is more than the total profit of Rs. 31,500.

Option C is incorrect because it gives Z a share of Rs. 7,500, which is less than the minimum guaranteed share of Rs. 7,500.

Option D is correct because it gives Z a share of Rs. 7,500, which is the minimum guaranteed share, and it also gives X and Y shares that are in proportion to their profit-sharing ratio.