To calculate the cost of building the fence around Khair's square backyard, we need to determine the perimeter of the three sides that require fencing and then multiply it by the cost per foot.
Since the backyard is a square, all sides are equal in length. The perimeter of a square is calculated by multiplying the length of one side by 4. In this case, the length of one side is given as 80 feet.
Perimeter of three sides = 3 * side length
Perimeter of three sides = 3 * 80 feet
Perimeter of three sides = 240 feet
Now, we can calculate the cost of building the fence by multiplying the perimeter by the cost per foot:
Cost of fence = Perimeter of three sides * Cost per foot
Cost of fence = 240 feet * $16/foot
Cost of fence = $3840
Therefore, it will cost Khair $3840 to build the fence around her square backyard.