Uh oh! Wolfram|Alpha doesn't run without JavaScript.
Please enable JavaScript. If you don't know how, you can find instructions
here
.
Once you've done that, refresh this page to start using Wolfram|Alpha.
max (56-14p+5q)(p-4)+(54-4p-3q)(q-2)
Natural Language
Math Input
Extended Keyboard
Examples
Upload
Random