Putting them together: maybe. You could try it and see, but be prepared to separate them again if it doesn't work. Dividing them with a piece of wire mesh could let them start getting acquainted but not be able to hurt each other.
But I'm a little concerned about the size of the "trough."
At those ages, your chickens should have something like following amounts of space:
3 BA @4 square feet each = 12 square feet
5 SG @2 square feet each = 10 square feet
I haven't seen many troughs with 22 square feet of space.
Integrating chickens of different ages tends to go much more smoothly with large amounts of space, and much less well when they are cramped.