Energy levels in finite barrier triangular and arrowhead-shaped quantum wires