# Exercise

Act 5 of 2012 has the following provisions:&#x20;

> 1\. In section 1 of the principal Act, delete subsection (1). \
> 2\. In section 3 of the principal Act, insert the following after paragraph (a): \
> &#x20;   "(aA) a new paragraph;"\
> 3\. In section 4 of the principal Act, substitute subsection (2) with the following: \
> &#x20;   "(2) New subsection."

1. Copy and paste the text below into the editor.
2. Apply the amendments given above.
3. Annotate the amendments.

```
SEC 1. - First section of principal Act

  SUBSEC (1)

    First subsection, will be deleted.

  SUBSEC (2)

    This one will be left alone.

SEC 2. - Second section of principal Act

  This one will be left alone.

SEC 3. - Third section of principal Act

  Introductory text:
  
  PARA (a)
  
    first paragraph;
  
  PARA (b)
  
    subsequent paragraph; and
  
  PARA (c)
  
    final paragraph.

SEC 4. - Fourth section of principal Act

  SUBSEC (1)

    This one will be left alone.

  SUBSEC (2)

    Old subsection (will be replaced).


```

When you're done, it should look like this in View mode:

![](/files/-Mc9ZwcFkMR0UTcfeky2)

and like this in Edit mode:

```
SEC 1. - First section of principal Act

  SUBSEC (1)

    {{*[subsection (1) deleted by section 1 of Act 5 of 2012]}}

  SUBSEC (2)

    This one will be left alone.

SEC 2. - Second section of principal Act

  This one will be left alone.

SEC 3. - Third section of principal Act

  Introductory text:
  
  PARA (a)
  
    first paragraph;

  PARA (aA)
  
    a new paragraph;
    
    {{*[paragraph (aA) inserted by section 2 of Act 5 of 2012]}}
  
  PARA (b)
  
    subsequent paragraph; and
  
  PARA (c)
  
    final paragraph.

SEC 4. - Fourth section of principal Act

  SUBSEC (1)

    This one will be left alone.

  SUBSEC (2)

    New subsection.

    {{*[subsection (2) substituted by section 3 of Act 5 of 2012]}}
    

```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.laws.africa/managing-works/amending-works/exercise.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
