Graph p=6-2q p=4+q