Need algebra help with Part 2 and trigonometric functions