How to edit Text Mesh Pro by Script?

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
using UnityEngine.SceneManagement;

public class Quiz1 : MonoBehaviour
{
[SerializeField] private TMP_Dropdown dropdown;
public int answer1;

public void OnChangedDropdown (int value)
{
    this.answer1 = dropdown.value + 1;        
    Debug.Log(this.answer1);

    if (this.answer1 == 1)
    {
        Debug.Log("This is mine");
    } else {
        Debug.Log("This is yours");
    }
    
}

}

image
I would like to see the value of [this.answer1] on the Result[Text Name] of Result1[Scene Name]. However, it is unable to make it by myself. Could you help me to complete the code?

int i = dropDownIndex;
string answer = "new answer"

dropdown.options[i].text = answer ;
dropdown.RefreshShownValue();