The numbers in the first and third pentagons have nothing to do with each other but have something to do with the numbers in the middle one.
The numbers in the same corner of first and third pentagon forms a formula that leads to the number in the same corner of the middle pentagon. For example, number 6 in first pentagon and number 4 on third pentagon when entered into a formula will lead to number 22 in the middle pentagon. You just have to figure out the formula...
Okay, let's try these more hints...
You can do it! 😊