How to convert degree to coordinates

Hi, I’m working with some ai and I’m trying to get the coordinates of two position

How can I get the x coordinates of this two degree, Like 45 degree to the left , and 45 degree to the right relative to my transform position.

Trigonometry… Trigonometry | Khan Academy

Specifically, Mathf.Sin and Mathf.Cos.

Here is the answer:

You just need to convert it to code. Please do avoid posting such questions as they are not specific to Unity.