Let the number be x.As per the question, (x - 1/2) × 12 = 18Multiply both sides by 2,2(x - 1/2) × 12 = 18 × 2(2x - 1) × 12 = 362x - 1 = 36/122x - 1 = 32x = 3 + 12x = 4x = 4/2x = 2