Can you replace the X (both small and big x) with the numbers between 1 to 19 such that all the rows of 3 numbers between X (big x) sum to 23 ?

Replace Shape Puzzle

There can be two possible solutions as shown in the picture below.1,19,3,12,16,14,18,10,7,6,15,2,5,9,13,17,8,11,41,19,3,18,16,14,12,4,13,6,9,8,17,15,7,5,2,11,10