How to place two text input types in one row?

How to place two text input types in one row?

Hi. I just want to know if there is solution for placing two text input types in one row. I am trying it with table but it does not look nice. I want to make something like this: