Here is a simple example that does what I believe you want to do.
I am using the Get User Profile connector to retrieve user profile information. I am using the email address of the user who created the list item as the user for which I want to retrieve properties.
First and Last name don't normally appear - I used the following expressions to get the first and last names. The expressions splits the display name where it sees a space and creates a table with the first and last names. The "first" function gets the first row in the table and "last" gets the last row.
First name:
first(split(body('Get_user_profile_(V2)')?['displayName'],' '))
Last name:
last(split(body('Get_user_profile_(V2)')?['displayName'],' '))

If this solves your problem, please mark you question as Solved.
Scott