You have two sets of the digits from $0$ to $9$.
The idea is to arrange these digits in the five boxes to make four-digit numbers as close to the target number as possible.
You may use each digit once only.
You might like to use this interactive to try out some of your ideas:
This problem is based on a game published by BEAM as one of their Maths of the Months activities. You can play it as a game against a friend using this sheet