When you have 2 variables you need 2 equations to solve it. In your equation there are 2 different variables: q and p. If you want to solve it ( = get the value for q and for p) you need one more equation. Besides. what do you mean by the sign ";" is it ":" ?