Consider a classification problem, where there are two classes and a univariate predictor X. Given that C = 1, X ~ Uniform(0, 1). Given that C = 2, X ~ Uniform (0.5, 2). Suppose that P(C= 1) = P(C = 2) = 0.5. Find the optimal allocation rule that minimizes the total probability of misclassification.