<body> <h2>Rectangle</h2> <p>The area of a rectangle with a height of <?php echo $rectangle->getHeight(); ?> and a width of <?php echo $rectangle->getWidth(); ?> is <?php echo $rectangle->area(); ?> .</p> <p>The perimeter of said shape is <?php echo $rectangle->perimeter(); ?> .</p> <h2>Square</h2> <p>The area of a square with a side of <?php echo $square->getHeight(); ?> is <?php echo $square->area(); ?> .</p> <p>The perimeter of said shape is <?php echo $square->perimeter(); ?> .</p> </body> </html>