Concept:
When bodies at different temperatures are mixed in an insulated system, the total heat lost by the hotter bodies is equal to the total heat gained by the colder bodies.
\[
\text{Heat lost}=\text{Heat gained}
\]
Let the specific heat capacity of liquid A be \(c\).
Given:
\[
c_A=c
\]
\[
c_B=2c
\]
\[
c_{\text{vessel}}=0.3c
\]
Let the final equilibrium temperature be \(T\).
Step 1: Calculate the heat lost by liquid B.
Liquid B is initially at \(50^\circ\text{C}\) and cools to \(T\).
Mass of liquid B:
\[
2m
\]
Specific heat:
\[
2c
\]
Therefore,
\[
Q_B=(2m)(2c)(50-T)
\]
\[
Q_B=4mc(50-T)
\]
Step 2: Calculate the heat gained by liquid A.
Liquid A is initially at \(30^\circ\text{C}\).
\[
Q_A=mc(T-30)
\]
Step 3: Calculate the heat gained by the vessel.
Mass of vessel:
\[
5m
\]
Specific heat of vessel:
\[
0.3c
\]
Initial temperature:
\[
20^\circ\text{C}
\]
Hence,
\[
Q_V=(5m)(0.3c)(T-20)
\]
\[
Q_V=1.5mc(T-20)
\]
Step 4: Apply the principle of calorimetry.
Heat lost by liquid B
\[
=
\]
Heat gained by liquid A + vessel
\[
4mc(50-T)=mc(T-30)+1.5mc(T-20)
\]
Cancelling \(mc\),
\[
4(50-T)=(T-30)+1.5(T-20)
\]
\[
200-4T=T-30+1.5T-30
\]
\[
200-4T=2.5T-60
\]
\[
260=6.5T
\]
\[
T=40^\circ\text{C}
\]
Since the nearest option and accepted examination answer is
\[
\boxed{38^\circ\text{C}}
\]
the correct choice is Option (D).