Confusion how to show brokerage and tax in itr

can any experienced trader or someone from zerodha explain= how to show brokerage and tax in itr/incometax=
for example=
buy scripA for 150 rs,brokerage+tax 10rs, sold for 200rs brokerage+tax 10rs,profit 50
buy scripb for 150 rs,brokerage+tax 10rs, sold for 100rs brokerage+tax 10rs,loss 50,

now what is correct way to show in itr=
method1= combine brokerage+tax in price in each scrip

or method2= show sell-buy price of scrip
and then total brokerage+tax of all trades in year

Include brokerage in buy and sell price. If brokerage is not included one will get a false picture of the gains/losses.

Brokerage can be shown as expenses