I am solving a problem and just can't wrap my had around the result I'm getting...
Here it is: 
So my next step would be setting derivative equal to zero and solving for Theta... Are my calculations wrong?... I would appreciate any constructive advice.