yes,I got it now :)
I done an example like 4 distinguishable object and 2 indistinguishable boxes
then if objects are $\left \{ a,b,c,d \right \}$
then no of ways will be
$\left \{ a,b,c \right \} ,\left \{ d \right \}$
$\left \{ a,b,d\right \} ,\left \{ c \right \}$
$\left \{ a,c,d\right \} ,\left \{ b \right \}$
$\left \{ b,c,d\right \} ,\left \{ a \right \}$
$\left \{ a,b\right \} ,\left \{ c,d \right \}$
$\left \{ a,c\right \} ,\left \{ b,d \right \}$
$\left \{ b,c\right \} ,\left \{ a,d \right \}$
And total is 7 ways according to triangle too
right?
thanks a lot :)