Question 28675
You might use the inequality ax+by<=B.
The budget allows for $500 but certain 
combinations of x and y might result 
in expenses of < or = to $500.
Otherwise, your work looks good.
Cheers,
Stan H.