because
in the given diagram in Right angle ABC
Sin150 = BC/AC
so BC = AC*sin 150
BC is the force in X direction and AC is the force in given direction
similarly
n Right angle ABC
cos 150 = AB/AC
so AB = AC*cos150
AB is the force in Y direction and AC is the force in given direction