Add maths Chapter 2

How to solve?

image

sub both numbers into x. Do it two times with different numbers.