The correct answer is: D. Rs. 16,500

Explanation:

The opening capital of a partner can be calculated by the following formula:

Opening capital = Closing capital + Drawings - Profit

In this case, the closing capital is Rs. 20,000, the drawings are Rs. 5,000, and the profit is Rs. 10,000. Therefore, the opening capital is:

Opening capital = Rs. 20,000 + Rs. 5,000 - Rs. 10,000 = Rs. 16,500

Option A is incorrect because it is the closing capital. Option B is incorrect because it is the same as the closing capital. Option C is incorrect because it is the profit.