Help please I’m just confused I know it’s simple but I’m just super sleep deprived and would greatly appreciate it

Use the law of sine.
Sin(angle) = opposite/ hypotenuse
Sin(45) = 6/x
X= 6/ sin(45)
X = 6 sqrt(2)