If sale price is in A1 this should give you the fees

=A1*4%+(MIN(A1,50)+MIN(A1,10)+MIN(A1,5))*2%