create new observation of variable based on two other observations

Could you create them in a new data frame then bind them?

It would be easier with a reprex.