10% if cost is more than $1,000, otherwise it is 0

the cell that I am using for cost is D5.