The power function of a statistical test for Test 1 is
Put . Test 2 rejects when
Using the two branches of the triangular distribution gives
Both functions equal at the least favourable null value .