Answer
Use the Align and Distribute panel.
-
Do the shapes first. Select them and Align: Centre on horizontal axis, then Distribute: Make horizontal gaps between objects equal.
-
Group the shapes.
-
Select the black bar and the group, then do Align: Centre on horizontal axis, and Align: Centre on vertical axis.
Attribution
Source : Link , Question Author : Joehat , Answer Author : Billy Kerr