Answer:
The investment in the fund was $19000 x 0.12 = $2280
The investment in the stock was $19000 - $2280 = $16720
The net profit was $520, so the amount of the profit from the fund was $520 x (2280/16720) = $136
The amount of the loss from the stock was $520 - $136 = $384