Exact Solution for Non-Self-Similar Wave-Interaction Problem during Two-Phase Four-Component Flow in Porous Media