Inserting a PHP Variable into HTML Code

Suppose now we have a paragraph, above which a PHP variable is defined:

html<?php
  $str = 'text';
?>
<p>text</p>

We can insert our variable inside the paragraph:

html<?php
  $str = 'text';
?>
<p><?php echo $str; ?></p>

Or we can simplify the variable insertion using a short PHP tag:

html<?php
  $str = 'text';
?>
<p><?= $str ?></p>
Задание 1

Three variables are given:

html<?php
  $str1 = 'text1';
  $str2 = 'text2';
  $str3 = 'text3';
?>

Also, three paragraphs are given:

html<p></p>
<p></p>
<p></p>

Insert the text of the variables into the corresponding paragraphs.