The answer to this question depends mostly on the structure of your data. If the Excel sheet you show is your data source, then the formulas might look something like this:
Calculated field name: [% Rejected]
Formula: [QTY Rejected]/[TOTAL QTY]
Calculated field name: [% Accepted]
Formula: [QTY ACCEPTED]/[TOTAL QTY]
If your data is the source from which the quantities are derived, then they might look something like this:
If you could attach a packaged workbook (.twbx) we might be able to offer a more specific example. Please see Posting a Perfect Question, Getting the Most From the Tableau Forums and Anonymize your Tableau Package Data for Sharing for more information.