A.(A) $25,000, less the construction firm’s cost and profit allocable to the “missing” foot.
B.(B) $25,000, because the constructive condition of complete performance by the construction firm was excused.
C.(C)

5,000, because the construction firm substantially performed.
D.(D)

1,000, because the construction firm substantially performed.