Hi Codelearner, welcome to Talk Graphics.

Select the text & the image using the selector tool and the Shift key, or drag select over both of them.

From the Menu select Arrange / Alignment.

Align as required.