I believe the answer is 20 sorry
If this is supposed to be

Then this can simply be reduced to

by the double angle formula for cosine
A is independent while b is dependent.
This is because b is equal to a decreased by 2. Anytime a changes, then b does as well. B can only change in accordance with a.
You are a rhombus sometimes although not correctly referred to as a diamond