However, you need to remember that \(\theta\) is the angle that the line makes with the positive \(x\)-axis.  You need to convert the angle given in the question to find the angle made by the line and the positive x-axis by doing: