Question: has built or had built?
Answer: “Peter had built a house” is the past perfect tense. There is an implication that something else happened after built that house, and the two things are connected. Peter had built a house, and then he got a contract to build an entire development of mini-mansions.