The error message seems to indicate a mis-match in the start/end tags -- looking into the tags entered in the Action at the locations mentioned in the error to ensure they match would be the general first suggestion here.
Also since this question is related to a BP University training course, you might also want to post your question here in the
BP University Community, which is monitored by members of our Training and Education team for this purpose.