Let the variable g represent how many pounds of grapes you can buy and the variable a represent how many pounds of apples you can buy.
You can spend AT MOST $10, meaning that you can spend less than or equal to this amount. (Includes the cost of both grapes AND apples)
So your inequality would be:
2.5g + 1a ≤ 10