what is the relationship between reaction spontaneity and the extent of reaction?

delta G = -RTlnK