So, I am very new at Ajax and after reading some online tutorial, below is what I have understood. Please correct me if I am wrong.
Current Situation:
Retrieve the posted ID from $_GET['id'] and add it to the path.
$template_part_path = 'page/tab' . $_GET['id']; <?php get_template_part($template_part_path); ?>