Look for repeated factors. In 43 · 59 · 43 · 42 the factor 43 appears twice, while 59 and 42 appear once each. Combine the repeated 43 factors using an exponent:
43 · 59 · 43 · 42 = 432 · 59 · 42
If the blanks correspond to the template baseexponent · next · next, enter: 43 (base), 2 (exponent), 59, 42.
For the vertical list 42 · 43 · 59 there are no repeated factors, so it stays as: 42 · 43 · 59 — enter the blanks as 42, 43, 59.