how would i do 3x+7y+2 solve for y
You haven't specified an equation, which must have something on both sides of an equals sign, so, as it stands, you can't solve for anything.