Add the value of the name variable together with an underscore and the value of the age variable.

<html>
<body>
  <p id="name">JohnnyG</p>
  <p id="age">25</p>
  <button onclick="generate()">Generate a username</button>
  <p id="username"></p>
  <script src="script.js"></script>
</body>
</html>
]]>

Make sure to assemble name + "_" + age;