The moment of inertia \( I_1 \) of a solid sphere about a tangent to its surface is calculated as:
\[
I_1 = I_{\text{CM}} + mR^2 = \frac{2}{5}mR^2 + mR^2 = \frac{7}{5}mR^2
\]
For a sphere with mass \( m = 5 \, \text{kg} \), we get:
\[
I_1 = 7R^2
\]
The moment of inertia \( I_2 \) of the disc about a tangent in its plane is:
\[
I_2 = \frac{m_2 R^2}{4} + m_2 R^2 = \frac{5}{4} m_2 R^2
\]
For the disc with mass \( m = 4 \, \text{kg} \), we get:
\[
I_2 = 6R^2
\]
The ratio \( \frac{I_2}{I_1} \) is:
\[
\frac{I_2}{I_1} = \frac{5R^2}{7R^2} = \frac{5}{7}
\]
Thus, \( x = 5 \).