Verified Answer :

Point D. She only makes profit after she sells 5 hats, so x>5, and profit has to be positive, or x<5 and profit is negative. In this case D is the only correct answer. 

DIn all other option she has either not sold 5 headbands (first number in parenthesis), or has not made any money (second number in parenthesis)