Answer
$15$ ways
Work Step by Step
There are 6 total marbles, and there are two groups of indistinguishable colors (the groups have 4 and 2 marbles).
Therefore, the amount of ways the marbles can be arranged is $\frac{6!}{4!\times 2!}=15$ ways.