#At what age was a baby to be circumcised?

A baby was to be circumcised after eight days. [17:12]

#What was to be done with foreigners who joined a household that was in covenant with Yahweh?

Foreigners who joined a household in covenant with Yahweh were also to be circumcised. [17:12-13]