If you pass general chemistry, then you can take organic chemistry.

You pass general chemistry.
�ˆ You can take organic chemistry.
Let P = you pass general chemistry
Let Q = you can take organic chemistry

I came up with
P - >Q
P
therefore Q

But my set up is wrong, how do I set up this problem correctly?

Would the set up be [(p-->q)^~p]-->~q

To correctly set up this problem, you can use the concept of conditional statements. Let's rephrase the statement "If you pass general chemistry, then you can take organic chemistry" as a conditional statement:

If someone passes general chemistry, then they can take organic chemistry.

Now, let's define the variables:

P: Someone passes general chemistry.
Q: Someone can take organic chemistry.

With this, the correct setup for the problem is:

P → Q
P

And you want to determine the conclusion, which is Q.