Lucid Software interview question

Asked to make an algorithm for a graphing problem or implement some logic for a couple games.