note that the triangle is a 30-60-90 right triangle ...
vertical leg =
horizontal leg =
dot means multiply or times .
THere is nothing wrong with your answer , you are correct .
But to avoid confusion , use a different unknown such as x for horizontal and y for vertical . Anyways , it's just my opinion but its advisable for people who tend to mess up things like me .