Solve the formula for the indicated variable.
The formula for the perimeter P of a triangle with sides of length a,b, and c is P=a+b+c. Solve the formula for b.