Create the class which has the property to stores dollar value of order. Class has CalculateFinalAmount which uses this logic--If dollar value is at least $500, solution decreases dollar value by $50. Regardless of dollar value of order, solution computes total after adding 7%. Then it returns final total to calling program.