One TV in green costs 108 caps + materials cost to produce
One TV in red costs 360 caps + materials cost to produce
So you get a +25% bonus in red. Good. That means the extra 25% produced must cover the difference in production costs between red and green TVs. So, difference is 360-108=252 caps per TV.
Now what we are looking for here is that the 25% more televisions just cover the 252 caps per television to break even.
So 1.25*(x-252)=1*x, where x is the profit per TV. This is simple maths which people learn in primary schools. (I hope you dont have problems with understanding it people)
Solving the equation gives us x=1004. That means the
pure profit per TV
produced, not
sold in the shop.
Given that people buy TVs for 2k and the materials cost over 1k, pure profit per TV is lower than 1004 caps and therefore its better to have green E-factories
[EDITED by GREED inc.: I just realized i made a stupid mistake in calculation, the breakeven profit per TV is actually 1260 caps per unit]