My friend is trying to make a spreadsheet for his new business, He pays his yoga girls 50% total for each of the clients they see but he has a cap on their earnings at anything over £30 until they hit 10 clients in a class, whereby they receive an additional £2 per student over 10 in a class; the class rate is variable before the £30, can you let me know how I would log this and set it out?