You can add an onChange event handler to the input element that calculates and then sets the value of the second element.
It would look something like this:
export function input1_change(event) {
$w("#text2").text = String(parseInt($w("#input1").value) * 0.05);
}