The function is for .
.
Find .
Substitute in .
Find the values of and .
Substitute the values of in .
Substitute the values of , and in .