Gross Profit to show at P&L

I would like to know one thing, how can we customized Profit and Loss format.
I want to include Gross Profit

Income
(COGS)
Gross Profit
Other Expenses
Profit Before Tax
Tax
Profit After Tax

Can someone help me with this?