Graph the system of constraints and find the value of x and y that maximize the objective function.

Constraints: x≥0, y≥0, y≤3, y<-2x+5
Objective function: C=-9x+5y

just graph the four lines

The region is a trapezoid with its lower left corner at (0,0)
The slanting line intersects y=3 at (1,3) and y=0 at (5/2,0)
Now evaluate C at all the corners.