the number of segments required to form n digits is given by the algebraic expression appearing on the right of each pattern. How many segments are required to form 5