How do you solve the compound inequality #k+2>12# and #k+2<=18#?