Given data:
The given amount Mary got per hour is A=$12 .
The total hours Mary works is H=10 hours.
The percentage of commission Mary got is P=10%=0.1.
The sale amount is S=$1,500.
The expression for the Money earned by Mary is,
[tex]E=A\times H+P\times S[/tex]Substitute the given values in the above expression.
[tex]\begin{gathered} E=(12)(10)+(0.1)(1,500) \\ =120+150 \\ =270 \end{gathered}[/tex]Thus, the amount earned by Mary is $270, so option (D) is correct.