Multiplicative formulas in Cohomology of $G/P$ and in quiver representations