Perimeter of triangle
= first side + second side + third side
Since we knew the first two sides are 18px and 7px, we have:
41px = 18px + 7px + length of third side
41px = 25px + length of third side
length of third side = 41px - 25px
length of third side = 16px