How to calculate net rental income using IRS method and the Tax Court method?

I need help please i don't know how to do this

Calculating net rental income using the IRS method and the Tax Court method involves different considerations. Here's a step-by-step guide for each method:

IRS Method:
1. Determine your Gross Rental Income (GRI): This includes all rental payments, such as rent, renewal fees, and services provided to tenants.
2. Deduct Rental Expenses (RE): Subtract all ordinary and necessary expenses related to the rental property, including mortgage interest, property taxes, insurance, repairs, maintenance, and utilities.
3. Calculate Depreciation (D): Determine the depreciation of your rental property, which is the wear and tear over time. This is calculated using the Modified Accelerated Cost Recovery System (MACRS) provided by the IRS.
4. Subtract Depreciation from the result of Step 2: Deduct the depreciation amount (D) from the result of Step 2 to calculate the Net Rental Income (NRI), also known as profit or loss.

Tax Court Method:
1. Follow Steps 1 and 2 from the IRS Method to calculate the Gross Rental Income (GRI) and Rental Expenses (RE).
2. Determine Non-Cash Deductions (NCD): If there are any non-cash deductions, such as barter or services exchanged instead of rent, calculate and subtract the value of these deductions from the RE.
3. Consider Personal Use Days (PUD): If you use the property for personal purposes, you need to adjust the rental expenses proportionally by dividing the total by the number of days the property was rented out. Then, subtract the personal use days from the total rental days.
4. Subtract Depreciation and Interest Expense from the result of Step 3: Deduct the depreciation (D) and interest expense from the result of Step 3 to calculate the Net Rental Income (NRI).

These methods can be complex, so it's recommended to consult with a tax professional or refer to IRS publications (such as Publication 527 - Residential Rental Property) for detailed guidance and examples specific to your situation.