My friend game me a hint: Skyscraper, which, as Daniel Mathias pointed out in the comments, is a type of grid puzzle.
Complete Solution to the skyscraper puzzle:
The answer, as Daniel Mathias has given you, is
You do not need to solve the entire puzzle to get there, though. (Although it is entirely possible to solve the whole thing with the information given.) I was able to answer your question in 6 steps.
The 1 above the top left box makes that box "5".
The 4 to the right of the top row means that the rightmost cell must be a 1 or a 2; this is also true for the rightmost cell in the fourth row.
The bottom cell in the rightmost column must be 5. [This places 3 in the second cell down and 4 in the middle cell.]
With a 5 in the bottom right cell, the leftmost cell in the fifth row must be 4.
With the 4 and 5 used up in the leftmost column, this means that the fourth row, second cell (left) must be 5, and the middle cell must be 4.
Looking back at the top row, with 5 on the left, and a 1 or 2 on the right, there are six possible ways for the row to have 4 skyscrapers, looking from the right. However, the 4 has to be in either the target box, or the one to its right. Since step E used up the 4 in the center column, the 4 in the top row must belong to the target box.