How to do i make left Side and right side using degrees in dotproduct?

So uh you might be confused what i mean but… heres what i mean, anyway to do this? please give me a simple explaination, i know degrees but, degrees only focus on both sides, i want it to focus on it seperately on left and right.