How to calculate the total amount in excel

Arif Malik's image