Question 1039347
Let {{{ n }}} = number of either apples or bananas
----------------
His profit from selling {{{ n }}} apples is:
{{{  .2*5n = n }}}
His loss from selling {{{ n }}} bananas is:
{{{ -.05*2n = -.1n }}}
---------------------
{{{ n - .1n = 360 }}}
{{{ .9n = 360 }}}
{{{ n = 400 }}}
He bought and sold 400 apples