Ответ:

The names are Петр, Семен, Федор. The surnames are Сидоров, Фролов, Перов. The first letter of each name is П, С, Ф. The first letter of each surname is С, Ф, П. Therefore, the pairings are: Петр - Перов, Семен - Сидоров, Федор - Фролов.