Let x and y be the number of Coca-Cola and Intel shares, respectively.
You initial investment was
[tex]45x+32y=25000[/tex]
In the forecast, we have that Coca-Cola shares double in value, and thus they're worth 90 dollars. Similarly, Intel shares increase by half of their current value, raising to 32+16=48. So, your new portfolio is
[tex]90x+48y=42000[/tex]
At this point we can solve the linear system given by the two equations: we can multiply the first equation by 2 to get
[tex]90x+64y=50000[/tex]
Subtracting the second equation from this one we have
[tex](64-48)y=50000-42000 \iff 16y=8000 \iff y=500[/tex]
So, you own 500 Intel shares. Plug this value into one of the equations (for example, the first) to solve for x, i.e. the number of Coca-Cola shares:
[tex]45x+32\cdot 500=25000 \iff x=\dfrac{25000-32\cdot 500}{45}=200[/tex]