             {
                 var index:Int = 0
                 var positionX:CGFloat = 0
-                
-                for item:MLinearEquationsSolutionEquationItem in equation.items
+                var equationItems:[MLinearEquationsSolutionEquationItem] = []
+                equationItems.append(contentsOf:equation.items)
+                equationItems.append(equation.equals)
+                equationItems.append(equation.result)
+                
+                for item:MLinearEquationsSolutionEquationItem in equationItems
                 {
                     let indexPath:IndexPath = IndexPath(
                         item:index,

        contentWidth = 0
        contentHeight = 0
        headerLayoutAttributes = []
        cellLayoutAttributes = []
        
        super.init()

    
    override func layoutAttributesForSupplementaryView(ofKind elementKind:String, at indexPath:IndexPath) -> UICollectionViewLayoutAttributes?
    {
        let listAttributes:[UICollectionViewLayoutAttributes]
        
        if elementKind == UICollectionElementKindSectionHeader
        {
            listAttributes = headerLayoutAttributes
        }
        else
        {
            listAttributes = footerLayoutAttributes
        }
        
        for layoutAttribute:UICollectionViewLayoutAttributes in listAttributes
        {
            if layoutAttribute.indexPath.section == indexPath.section
            {
