Answer:
When Andrew sent his acceptance on Wednesday a contract was formed.
Explanation:
Andrew had recieved the offer on Monday and accepted on Wednesday, although Billy sent a revocation on Tuesday.
The onus for Andrew to receive the revocation on time is on Billy, a faster means should have been taken to notify Andrew of the revocation.
So the contract was formed on Wednesday when Andrew accepted the offer.