A simple single digit seven segment display

Thank you very much. I might have a little trouble figuring it out, but I'll try. Thanks again