How to calculate discount of books

how to calculate discount of books
if there condition like a calculate discount 18% and 10% above < no of books quantity.

can you please help bcoz i haven’t knowledge about AE tool im just started to learning.

Thank you in advance

@Rupali_Shinde You can try this with Calculator step.

use formula plugging

Use calculator with if else (condition statements) logic based ladder it is best step to solve.