AB and BC are congruent sides as given by the triangle. Their corresponding angles ∠C and ∠A are also congruent.
If ∠C = 51°, then ∠A is also 51°.
Recall that the sum of the interior angle of a triangle is 180°, then we have the following:

Therefore, ∠B = 78°.