Well, considering you need to use BODMAS (brackets, order, division, multiplication, addition, subtraction) to complete this equation, you would solve it as per below (say the number you are trying to find is 'x'). So:
X / 3 + 8 * 2 - 1 = 45
first of all, lets simplify the equation, using BODMAS: