Create page template

you must create a template in theme root directory like below and create a new page in wordpress admin dashboard and choose template from right menu like image below:

my-page-template.php:

<?php /* Template Name: MyTpl_1 */ ?>

<?php
    // your logic goes here ...
?>

and choose it from menu while creating a new page:
enter image description here