How to increase the width of a sprite.

I am a beginner, learning, and trying to build my dream game using unity.

I bought a GUI pack from the unity asset store.
I am trying to build a UI like below.

5860624--623002--upload_2020-5-17_14-9-48.png

This should be on canvas. Now, what I have done.

5860624--623005--upload_2020-5-17_14-10-53.png

Do you see my problem? I am using a bg png sprite. Which is not taking the correct width.

Can anyone help me in this, what should I do.

Thanks in advance.

You can build sprites with expandable insides with 9-slicing method: https://docs.unity3d.com/Manual/9SliceSprites.html