Without knowing exactly what you are trying to accomplish, the simplistic answer is:
get-ucsfimodule | ft model, UCs; get-ucsfirmwareinfra | ft ucs, operversion
You are trying to get information that only comes from two different areas, so you need to issue two cmdlets to retrieve the information. Please provide more information about what you are trying to do.