To solve for C, you have to get both of the numbers with a C on the same side. So, subtract the 5c from the right side onto the left side.
\(8c = 5c + 21\\8c - 5c = 5c - 5c + 21\\3c = 21\)
Then, divide by 3 on each side.
\(3c = 21\\3c /3 = 21/3\\c = 7\)
So, c = 7.