Number machine rule puzzle

Two examples reveal what a number machine does. Infer the linear rule and predict the third output.

Worked example

2 → 13 4 → 21 6 → ?

Multiply by 4, then add 5.

Embed this puzzle on a class or club site

Copy this HTML into a page that supports frames. The default set changes daily at midnight UTC.