To rearrange the surface area equation for \( B \) (the area of the base of the square pyramid), we start with the equation for the surface area \( S \):
\[ S = \frac{1}{2} l p + B \]
Here, \( l \) is the slant height, \( p \) is the perimeter of the base, and \( B \) is the area of the base.
To isolate \( B \), we can rearrange the equation as follows:
- Subtract \(\frac{1}{2} l p\) from both sides: \[ B = S - \frac{1}{2} l p \]
So the rearranged equation for the area of the base \( B \) is:
\[ B = S - \frac{1}{2} l p \]