Peel and boil the potatoes and carrots.
Let the boiled potatoes and carrots cool, then dice them.
Finely chop the cucumber and onion, then sprinkle with salt and drain the moisture.
Chop the boiled egg.
Combine all the ingredients in a bowl with mayonnaise, salt, and pepper, and mix well.
Serve on a plate to finish.