The question is confusing for the initial direction of the green ball. We assume to the left.
Answer:
The mass of the green ball is 360 Kg
Step-by-step explanation:
Law Of Conservation Of Linear Momentum
The total momentum of a system of bodies is conserved unless an external force is applied to it. The formula for the momentum of a body with mass m and velocity v is
P=mv.
If we have a system of bodies, then the total momentum is the sum of the individual momentums
![P=m_1v_1+m_2v_2+...+m_nv_n](https://img.qammunity.org/2021/formulas/physics/high-school/7k1lffl077ghmmybelm9y1zzjy4khnfef6.png)
If some collision occurs, the velocities change to v' and the final momentum is:
![P'=m_1v'_1+m_2v'_2+...+m_nv'_n](https://img.qammunity.org/2021/formulas/physics/high-school/80btpi8y5yu6p7ycp6sk3slrh4zffr8k03.png)
In a system of two masses, the law of conservation of linear momentum
is written as:
![m_1v_1+m_2v_2=m_1v'_1+m_2v'_2](https://img.qammunity.org/2021/formulas/physics/high-school/zng0ebc0mxoobf49425konn155r9fo6hv6.png)
Let's call m1=30 Kg the mass of the red ball moving to the right at v1=4 m/s, m2 (unknown) the mass of the green ball moving at v2=-5 m/s to the left (assumed).
After the collision, the red ball rolls to the left at v1'=-2 m/s and the green ball is at v2'=-4.5 m/s. Thus:
![30*4+m_2*(-5)=30*(-2)+m_2(-4.5)](https://img.qammunity.org/2021/formulas/physics/high-school/o0r7k2d4i9itolmssx71k5tqa3i014joya.png)
Operating:
![120-5m_2=-60-4.5m_2](https://img.qammunity.org/2021/formulas/physics/high-school/cwbk05dxoi0kd9im7cpjfly1xp7wwi5nfj.png)
![120+60=5m_2-4.5m_2](https://img.qammunity.org/2021/formulas/physics/high-school/3l1o7wxy1t8lxq7ugmhg0sgotuhrriq5ps.png)
![180=0.5m_2](https://img.qammunity.org/2021/formulas/physics/high-school/m6p7d4l0o7b44brhgegv5oh366dstsr0os.png)
![m_2=180/0.5=360](https://img.qammunity.org/2021/formulas/physics/high-school/x9lr0rhc7y0wyuvrf82tgoar441i8n04yj.png)
The mass of the green ball is 360 Kg