Assignment:
You own 1000 shares of Robotica Galactica (RG) at $39.00 per share. You also own 500 shares of Algebraic Flavors and Fragrance International (AFFI) at $100 per share. You would like to liquidate a part of your holdings to generate about $40,000 in cash for an emergency use. How would you sell your stock so that in your portfolio the remaining stocks maintain roughly the same ratio?
Note: Clever solutions are just as welcome as mathematical formulations.
Provide complete and step by step solution for the question and show calculations and use formulas.