A painter is doing a homework assignment for his painting class.