You could run the duct the way you are suggesting but use as few elbows as possible because it will cut down your airflow quite a bit.
I suggest, if its feasible, cutting out the joist space above the beam enough to get the runs through.
I suggest, if its feasible, cutting out the joist space above the beam enough to get the runs through.