ITV invests in Purplebricks – how the deal works…