Conversion of column values to column name

My input is as below:

My expected output:

Based on the column values from city columns ,I need to create unique columns