Your question could have been better with a little extra time added to improve its readability.
I'll call your loop currents \$J_1\dots J_4\$ and accept your use of \$I\$ for the currents through two-terminal devices, as shown. I'll also assign \$V_1\$ to be the voltage across the \$19\:\text{A}\$ current source and \$V_2\$ to be the voltage across the dependent current source. Finally, I'll use SymPy (freely available and free to use) and write out the equations:
j1,j2,j3,j4,v1,v2 = symbols('j1,j2,j3,j4,v1,v2', real=True)
i1 = j1 - j3
i2 = j2 - j3
i3 = j2 - j4
i4 = j4
mesh1 = Eq( 0 + v1 - 40*i1, 0 )
mesh2 = Eq( 0 + 4*i4 - 10*i3 - 5*i2, 0 )
mesh3 = Eq( 0 + 40*i1 + 5*i2 - v2, 0 )
mesh4 = Eq( 0 + v2 + 10*i3 + 240, 0 )
eqj1 = Eq( j1, 19 )
eqdep = Eq( 2*i2, j4 - j3 )
solve( [ mesh1, mesh2, mesh3, mesh4, eqj1, eqdep ], [ j1, j2, j3, j4, v1, v2 ] )
{j1: 19, j2: 18, j3: 26, j4: 10, v1: -280, v2: -320}
Your writing is not entirely clear to me, so I'll let you look over the above for answers.
To confirm, LTspice says:
