The last part of post URL in Wordpress is created from the first version of post title. But you can change it according to your needs. You have to click on the specific post to edit its content. Then click on Permalink
in the right panel, update the URL Slug and save the changes.