Step 1: Parametric representation of the lines.
Line \(l_1\): \[l_1: \frac{x - 1}{1} = \frac{y - 1}{2} = \frac{z - 2}{3} = \lambda,\]
A general point on \(l_1\) is \((1 + \lambda, 1 + 2\lambda, 2 + 3\lambda)\).
Line \(l_2\): \[l_2: \frac{x - 1}{0} = \frac{y}{-3} = \frac{z - 7}{2} = \mu,\]
A general point on \(l_2\) is \((1, -3\mu, 7 + 2\mu)\).
Step 2: Determine the intersection point of the two lines.
Equating the coordinates of points on \(l_1\) and \(l_2\): \[1 + \lambda = 1, \quad 1 + 2\lambda = -3\mu, \quad 2 + 3\lambda = 7 + 2\mu.\]
From \(1 + \lambda = 1\), we get \(\lambda = 0\). Substituting \(\lambda = 0\) into the other equations yields: \[1 = -3\mu, \quad 2 = 7 + 2\mu \implies \mu = -1.\]
The point of intersection is \((1, 1, 5)\).
Step 3: Calculate the direction ratios of the required line.
The direction ratios of the given lines are: \[\vec{d_1} = \langle 1, 2, 3 \rangle, \quad \vec{d_2} = \langle 0, -3, 2 \rangle.\]
The direction ratios of a line perpendicular to both \(l_1\) and \(l_2\) are given by their cross product: \[\vec{d} = \vec{d_1} \times \vec{d_2}.\]
Computing the cross product: \[\vec{d} = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\1 & 2 & 3 \\0 & -3 & 2 \end{vmatrix}= \hat{i}(4 - (-9)) - \hat{j}(2 - 0) + \hat{k}(-3 - 0).\]
This results in \[\vec{d} = \langle 13, -2, -3 \rangle.\]
Step 4: Formulate the equation of the required line.
The equation of the line passing through \((1, 1, 5)\) with direction ratios \(\langle 13, -2, -3 \rangle\) is: \[\frac{x - 1}{13} = \frac{y - 1}{-2} = \frac{z - 5}{-3}.\]
Self-study helps students to build confidence in learning. It boosts the self-esteem of the learners. Recent surveys suggested that close to 50% learners were self-taught using internet resources and upskilled themselves.

A student may spend 1 hour to 6 hours in a day in upskilling self. The probability distribution of the number of hours spent by a student is given below: \[ P(X = x) = \begin{cases} kx^2, & \text{for } x = 1, 2, 3, \\ 2kx, & \text{for } x = 4, 5, 6, \\ 0, & \text{otherwise.} \end{cases} \] where \( x \) denotes the number of hours. Based on the above information, answer the following questions:
1. Express the probability distribution given above in the form of a probability distribution table.
2. Find the value of \( k \).
3. (a) Find the mean number of hours spent by the student. (b) Find \( P(1 < X < 6) \).